<% unless cart.line_items.empty? %>
	<h2><%= t('.cart') %></h2>
	<table class="carts">
		<%= render(cart.line_items) %>
		<tr class="total_line">
			<td colspan="2"><%= t('.total') %></td>
			<td class="total_price"><%= number_to_currency(cart.total_price, :unit => 'CHF') %></td>
		</tr>
	</table>

	<div class="form-actions">
		<%= link_to t('.checkout'), checkout_path(:order_person), method: :get, class: 'btn btn-primary' %>
		<%= link_to t('.empty_cart'), cart, method: :delete, confirm: t('global_alert_sure'), class: 'btn' %>
	</div>
<% end %>
